package com.mttqq.family.dao;

import java.util.HashMap;
import java.util.Map;

import com.mttqq.family.pojo.User;

/*******************************************************************************
 * <b>类名：UserDao</b> <br/>
 * 功能：数据库操作<br/>
 * 日期: 2012-06-13 <br/>
 * 
 * Copyright: Beijing Uniits Technology Co.,Ltd.
 * 
 * Copyright (c) 2012 Company:北京广联易通信息技术有限公司
 * 
 * @author 谢广泉 xieguangquan@uniits.com
 * @version 1.0.0
 * 
 ******************************************************************************/
public class UserDao extends BaseDao{
	
	public static User getUserByLoginName(String loginName){
		Map<String,Object> map = new HashMap<String,Object>();
		map.put("loginname", loginName);
		return sqlSession.selectOne("UserMapper.getUserByLoginName", map);
	}
	
}
